package com.mingqijia.gassafety.shared.service;


import com.mingqijia.gassafety.shared.request.ThreeQuotientCreateReq;
import com.mingqijia.gassafety.shared.response.ThreeQuotientAddOrderResp;
import com.mingqijia.gassafety.shared.response.ThreeQuotientByOrderIDListResp;
import com.mingqijia.gassafety.shared.response.ThreeQuotientByOrderIDResp;

import java.util.List;
import java.util.Map;

public interface ThreeQuotientService {

    // 获取token
    String getToken();

    /**
     * 创建工单
     * @param req
     * @return
     */
    ThreeQuotientAddOrderResp addRPSData(ThreeQuotientCreateReq req);

    /**
     * 根据工单号查询工单状态
     * @param parms
     * @return
     */
    ThreeQuotientByOrderIDListResp getByOrderID(Map<String, Object> parms);

    Map<String, Object> queryOrderInfo(String orderNo);

    /**
     * 根据工单号批量查询工单状态
     * @param orderNos
     * @return
     */
    Map<String, ThreeQuotientByOrderIDListResp> queryOrderList(List<String> orderNos);
}
